package com.ms.common.util;

import java.util.Collection;
import java.util.List;
import java.util.Map;

public interface TypeJudge {

     Object ifIterable(Iterable<?> obj);
     Object ifList(List<?> obj);
     Object ifCollection(Collection<?> obj);
     Object ifMap(Map<?, ?> obj);
     Object ifArray(Object[] array);
     Object other(Object obj, Class<?> toType);
     Object all(Object obj);
}
